package com.example.shushiyunsst.fragment.main.transaction.child.kline_chart.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.ArrayList;
import java.util.List;

public class KlineChartDeepBean {


    @JSONField(name = "buyList")
    private List<ListBean> buyList;

    @JSONField(name = "sellList")
    private List<ListBean> sellList;

    public List<ListBean> getBuyList() {
        if (buyList == null) buyList = new ArrayList<>();
        return buyList;
    }

    public void setBuyList(List<ListBean> buyList) {
        this.buyList = buyList;
    }

    public List<ListBean> getSellList() {
        if (sellList == null) sellList = new ArrayList<>();
        return sellList;
    }

    public void setSellList(List<ListBean> sellList) {
        this.sellList = sellList;
    }

    public static class ListBean {
        /**
         * txNums : 500
         * txPrice : 0.3
         * bili : 0.33
         */

        @JSONField(name = "txNums")
        private int txNums;

        @JSONField(name = "txPrice")
        private double txPrice;

        @JSONField(name = "bili")
        private float bili;

        public Integer getTxNums() {
            return txNums;
        }

        public void setTxNums(Integer txNums) {
            this.txNums = txNums;
        }

        public Double getTxPrice() {
            return txPrice;
        }

        public void setTxPrice(Double txPrice) {
            this.txPrice = txPrice;
        }

        public float getBili() {
            return bili;
        }

        public void setBili(float bili) {
            this.bili = bili;
        }
    }


}
